home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 7296 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.0 KB

  1. Path: aloha.cc.columbia.edu!gvs3
  2. From: "Gopal V. Sarikela" <gvs3@columbia.edu>
  3. Newsgroups: comp.lang.c
  4. Subject: timimng an event in milli seconds.
  5. Date: Sun, 18 Feb 1996 17:47:18 -0500
  6. Organization: Columbia University
  7. Message-ID: <Pine.SUN.3.91.960218173348.23890B-100000@aloha.cc.columbia.edu>
  8. NNTP-Posting-Host: aloha.cc.columbia.edu
  9. Mime-Version: 1.0
  10. Content-Type: TEXT/PLAIN; charset=US-ASCII
  11. X-Sender: gvs3@aloha.cc.columbia.edu
  12.  
  13.  
  14. Hello everyone, 
  15.     This might be a repeat question but i am sorry for asking.
  16. I have access to Borland 4.0 compiler on DOS and Windows for IBM and gcc 
  17. and cc for UNIX.
  18.  
  19.     I am intersested in measuring time taken by an event like a key 
  20. hit or the user typing something.
  21.  
  22.     On the Borland compiler, the command int86(int, *REGS, *REGS) and 
  23. ti_hund gives the time in hundreth of a second, thats how we can time an 
  24. event.
  25.  
  26.     I am interested in _milli seconds_ can anybody help me? I am also 
  27. intersted in doing the same on the unix workstations at the university .
  28.  
  29.  
  30. Any help is much appreciated.
  31. Thanks
  32. Gopal
  33.  
  34.